/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class InsureEnum extends StringEnum
{
    public static final String ISNULL_VALUE = "0";
    public static final String BUYER_VALUE = "1";
    public static final String SALLER_VALUE = "2";
    public static final String SUP_VALUE = "3";

    public static final InsureEnum isnull = new InsureEnum("isnull", ISNULL_VALUE);
    public static final InsureEnum buyer = new InsureEnum("buyer", BUYER_VALUE);
    public static final InsureEnum saller = new InsureEnum("saller", SALLER_VALUE);
    public static final InsureEnum sup = new InsureEnum("sup", SUP_VALUE);

    /**
     * construct function
     * @param String insureEnum
     */
    private InsureEnum(String name, String insureEnum)
    {
        super(name, insureEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static InsureEnum getEnum(String insureEnum)
    {
        return (InsureEnum)getEnum(InsureEnum.class, insureEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(InsureEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(InsureEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(InsureEnum.class);
    }
}